<!--
 * @Descripttion: 
 * @Author: YuZhenJing
 * @Date: 2020-06-21 20:06:25
 * @LastEditors: YuZhenJing
 * @LastEditTime: 2020-06-21 20:11:03
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // \d < \w < .
      // . 可以匹配除了换行符意外的所有字符
      let url = "https://www.anyun.com";
      console.log(url.match(/https?:\/\/\w+\.\w+\.\w+/));

      let ay = `
       anyun.com
       cangge.com
      `;
      console.log(ay.match(/.+\s/));
    </script>
  </body>
</html>
